package com.cmcc.sdtp.db;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

import com.cmcc.sdtp.server.SDTPServer;

public class SdtpStartServer implements ServletContextListener {

	public static void main(String[] args) {
	}

	public void contextDestroyed(ServletContextEvent arg0) {
	}

	public void contextInitialized(ServletContextEvent event) {
		new Thread(new Runnable() {
			public void run() {
				SDTPServer server = SDTPServer.getInstall();
				server.run();
			}
		}).start();
	}
}